﻿<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="659.322" Width="543.551">
    <Grid>
        <Button Content="Select Source Project" Height="23" HorizontalAlignment="Left" Margin="12,89,0,0" Name="btn_connect" VerticalAlignment="Top" Width="120" Click="btn_connect_Click" />
        <Button Content="Select Target Project" HorizontalAlignment="Left" Margin="12,176,0,0" VerticalAlignment="Top" Width="120" RenderTransformOrigin="0.2,-0.818" Click="Button_Click"/>
        <Button Content="Migrate Test Planes&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,349,0,0" VerticalAlignment="Top" Width="120" Height="24" Click="Button_Click_1"/>
        <Label Content="Source Project" HorizontalAlignment="Left" Margin="10,132,0,0" VerticalAlignment="Top" Width="120"/>
        <TextBox x:Name="SourceProjectText" HorizontalAlignment="Left" Height="23" Margin="151,132,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="356"/>
        <Label Content="Target Project" HorizontalAlignment="Left" Margin="12,216,0,0" VerticalAlignment="Top" Width="120"/>
        <TextBox x:Name="DestinationProjectText" HorizontalAlignment="Left" Height="23" Margin="151,219,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="356"/>
        <GroupBox Header="Status" HorizontalAlignment="Left" Height="142" Margin="10,387,0,0" VerticalAlignment="Top" Width="507" BorderBrush="#FFABD3FD">
            <ScrollViewer x:Name="StatusViwer" HorizontalAlignment="Left" Height="105" Margin="0,10,0,0" VerticalAlignment="Top" Width="488" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Background="#FFFDFDFD">
                <StackPanel x:Name="MigrationStatusTextBlock" VerticalAlignment="Top" HorizontalAlignment="Left">
                    <TextBlock x:Name="MigrationStatusText" TextWrapping="Wrap" Margin="0,0,0,20" ></TextBlock>
                </StackPanel>
            </ScrollViewer>
        </GroupBox>
        <ProgressBar x:Name="StatusBar" HorizontalAlignment="Left" Height="31" Margin="22,555,0,0" VerticalAlignment="Top" Width="495"/>
        <GroupBox Header="Export Plan" HorizontalAlignment="Left" Margin="12,10,0,0" VerticalAlignment="Top" Height="58" Width="495">
            <WrapPanel HorizontalAlignment="Left" Height="26" VerticalAlignment="Top" Width="383" Margin="0,10,0,0">
                <CheckBox x:Name="MigrateTestSelectionCheckBox" Content="Also Migrate Test Cases" Width="150" Checked="MigrateTestSelectionCheckBox_Checked" Click="MigrateTestSelectionCheckBox_Click"/>
                <Label Content="    " Width="38"/>
                <CheckBox x:Name="RestoreTestSelectionCheckBox" Content="Restore Test Cases from Target" Width="190" Click="RestoreTestSelectionCheckBox_Click"/>
            </WrapPanel>
        </GroupBox>
        <GroupBox x:Name="OptionGroupPanel" Header="Options" HorizontalAlignment="Left" Margin="12,268,0,0" VerticalAlignment="Top" Width="495" Height="54" IsEnabled="False">
            <WrapPanel HorizontalAlignment="Left" Height="24" VerticalAlignment="Top" Width="473" Margin="10,10,0,-2">
                <CheckBox x:Name="DeletePlansCheckBox" Content="Delete existing Plans"/>
                <Label Content="   " RenderTransformOrigin="-9.191,0.426" Width="25"/>
                <CheckBox x:Name="SharedStepCheckBox" Content="Duplicate Shares Steps" Width="144"/>
                <Label Content="   " Width="25"/>
                <CheckBox x:Name="AttachmentCheckBox" Content="Include Attachments" Width="135"/>
            </WrapPanel>
        </GroupBox>      
        <TextBlock x:Name="CheckTestPlanTextBlock" Height="23" Margin="22,601,10,5" Visibility="Hidden">
            <Hyperlink x:Name="CheckTestPlanHyperLink"  Click="CheckTestPlanHyperLink_Click">Check Migrated Test Plans</Hyperlink>
        </TextBlock>
    </Grid>
</Window>
